package com.lanou.myim.presenter;

import com.lanou.myim.model.SortModel;

import java.util.List;

/**
 * Created by dllo on 16/3/3.
 */
public interface FriendsPresenterInterface {
    //获得好友列表
    List<SortModel> getFriendList();
    //搜索好友
    void searchFriends(String str);
    //接到好友请求
    void receiveApply(String name,String reason);
    //删除好友
    void deleteFriend(String userName);
    //被好友删除
    void deletedByFriend();
    //好友数增多
    void friendIncreased(List<String> names);

    void addFriendToBlackList(String userName,Boolean flag);

    void applySuccessed(String userName);
}
